//
//  YCSetBigTableViewCell.m
//  lianganyuchu
//
//  Created by iMac on 17/2/23.
//  Copyright © 2017年 杭州桑缇电子商务有限公司. All rights reserved.
//

#import "YCSetBigTableViewCell.h"

@implementation YCSetBigTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    [self.backView addShadowWith:CGSizeMake(kMainScreen_Width-2*kDistance, H(self)-kSmallDistance)];
    [self.backView click:self action:@selector(clickBack:)];
    
    [self.labTitle1 setFont:[UIFont LightFontOfSize:16]];
    [self.labTitle2 setFont:[UIFont LightFontOfSize:16]];
    [self.labDesc setFont:[UIFont LightFontOfSize:16]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)clickBack:(UIGestureRecognizer *)gesture
{
    CGFloat pointY=[gesture locationInView:gesture.view].y;
    if (pointY>gesture.view.frame.size.height/2) {
        self.aboutBlock();
    }else{
        self.phoneBlock();
    }
}

@end
